package org.association.builder_state;

public class ConcreteStateA extends State{

	@Override
	public void methodA() {
		System.out.println("this is method A");
	}

	@Override
	public void methodB() {
		super.context.setCurrentState(Context.CONCRETE_STATE_B);
		super.context.getCurrentState().methodB();
	}

	@Override
	public void methodC() {
		System.out.println("cant't change the state A-C");
	}

	@Override
	public void methodD() {
		System.out.println("cant't change the state A-D");
	}

}
